package com.cyxy.ojbackendmodel.model.dto.question;

import com.cyxy.ojbackendcommon.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;


@EqualsAndHashCode(callSuper = true)
@Data
//查询请求
public class QuestionQueryRequest extends PageRequest implements Serializable {

    //id
    private Long id;

    //标题
    private String title;

    //内容
    private String content;

    //标签列表
    private List<String> tags;

    //题目答案
    private String answer;

    //创建用户 id
    private Long userId;

    //唯一标识
    private static final long serialVersionUID = 1L;
}